<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

?>
<div style="display: none">
<?php
   echo $form['totalneto'];
   echo $form['exentas'];
   echo $form['totaliva'];
   echo $form['total'];
   
   ?></div>
<h2>Totales de la Factura</h2>

<table>
    <thead>
        <th>Total Neto</th>
        <th>Total Exentas</th>
        <th>Total I.V.A</th>
        <th>Total Gral.</th>
    </thead>
    <tbody>
    <tr>
        <td><?php echo number_format($form['totalneto']->getvalue(),0,'','.').'.Gs' ?></td>
        <td><?php echo number_format($form['exentas']->getvalue(),0,'','.').'.Gs' ?></td>
        <td><?php echo number_format($form['totaliva']->getvalue(),0,'','.').'.Gs' ?></td>
        <td><?php echo number_format($form['total']->getvalue(),0,'','.').'.Gs' ?></td>
    </tr>
    </tbody>
</table>
